Improve doc of gtk_text_iter_forward_search()
authorSébastien Wilmet <swilmet@gnome.org>
Thu, 20 Jun 2013 10:09:20 +0000 (12:09 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Thu, 20 Jun 2013 10:39:24 +0000 (12:39 +0200)
It was not possible to know if the @limit was for @match_start or
@match_end. It was documented for backward_search(), but not for
forward_search().

https://bugzilla.gnome.org/show_bug.cgi?id=390048

gtk/gtktextiter.c

index 8a24ae87c7a941aca810e4018a03c66a830a9ce9..4821c62c488a05ab5f08910dfc1b6c7e1e8e3d2c 100644 (file)
@@ -4848,7 +4848,7 @@ strbreakup (const char *string,
  * @flags: flags affecting how the search is done
  * @match_start: (out caller-allocates) (allow-none): return location for start of match, or %NULL
  * @match_end: (out caller-allocates) (allow-none): return location for end of match, or %NULL
- * @limit: (allow-none): bound for the search, or %NULL for the end of the buffer
+ * @limit: (allow-none): location of last possible @match_end, or %NULL for the end of the buffer
  *
  * Searches forward for @str. Any match is returned by setting
  * @match_start to the first character of the match and @match_end to the